<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <meta name="layout" content="main_blog" />
    <title>登录</title>
  </head>
  <body>
    <div id="nav" class="nav">
      <span class="menuButton"><a class="home" href="${createLink(uri: '/')}">首页</a></span>
    </div>
    <div class="body">
      <h1>管理员登录</h1>
      <g:if test="${flash.message}">
        <div class="message">${flash.message}</div>
      </g:if>
      <g:form action="login" method="post" >
        <div class="dialog">
          <table>
            <tbody>
              <tr class="prop">
                <td valign="top" class="name">
                  <label for="link">用户:</label>
                </td>
                <td valign="top" class="value ${hasErrors(bean:linkInstance,field:'link','errors')}">
${application.sysConfig.userName}
                </td>
              </tr>

              <tr class="prop">
                <td valign="top" class="name">
                  <label for="order">密码:</label>
                </td>
                <td valign="top" class="value">
            <g:passwordField name="password" value="" />
            </td>
            </tr>


            </tbody>
          </table>
        </div>
        <div class="buttons">
          <span class="button"><input class="save" type="submit" value="登录" /></span>
        </div>
      </g:form>
    </div>
  </body>
</html>
